package com.xmy.cultivate.entity.views;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class ScoreDataDetail {
    @ExcelIgnore
    private Long id;

    @ExcelIgnore
    @ApiModelProperty("校区id")
    private Long schoolId;

    @ExcelIgnore
    @ApiModelProperty("校区名称")
    private String schoolName;

    @ExcelIgnore
    @ApiModelProperty("任课老师")
    private Long teacherId;

    @ExcelProperty(index = 4,value = "带班老师")
    @ApiModelProperty("任课老师姓名")
    private String teacherName;

    @ExcelIgnore
    @ApiModelProperty("学生id")
    private Long studentId;

    @ExcelProperty(index = 0,value = "学员姓名")
    @ApiModelProperty("学生姓名")
    private String studentName;

    @ExcelIgnore
    @ApiModelProperty("科目id")
    private Long subjectsId;

    @ExcelIgnore
    @ApiModelProperty("科目名称")
    private String subjectsName;

    @ExcelIgnore
    @ApiModelProperty("年份")
    private Integer yearPart;

    @ExcelIgnore
    @ApiModelProperty("学期：1寒假班，2春季班，3暑假班，4秋季班")
    private Integer quarterNum;

    @ExcelIgnore
    @ApiModelProperty("学期名称")
    private String quarterName;

    @ExcelIgnore
    @ApiModelProperty("考试名称id:1期中，2期中摸底，3期末，4期末摸底")
    private Integer examNum;

    @TableField(exist = false)
    private Integer upYearPart;

    @TableField(exist = false)
    private Integer upQuarterNum;

    @TableField(exist = false)
    private Integer upExamNum;

    @ExcelIgnore
    @TableField(exist = false)
    @ApiModelProperty("实际就读学校")
    private String readeSchool;


    @ExcelIgnore
    @ApiModelProperty("考试名称")
    private String examName;

    @ExcelIgnore
    @ApiModelProperty("年级")
    private Integer yearClassId;

    @ExcelIgnore
    @ApiModelProperty("年级名称")
    private String yearClassName;

    @ExcelIgnore
    private Integer gradeSection;

    @ExcelIgnore
    @ApiModelProperty("班级id")
    private Long gradeId;

    @ExcelIgnore
    @ApiModelProperty("班级名称")
    private String gradeName;

    @ExcelProperty(index = 2,value = "本次考试")
    @ApiModelProperty("分数")
    private String score;

    @ExcelIgnore
    @ApiModelProperty("录入分数后改为1")
    private Integer isStatistics;

    @ExcelProperty(index = 1,value = "上次考试")
    @ApiModelProperty("分数")
    private String scoreB;

    @ExcelIgnore
    private Integer isStatisticsB;

    @ExcelIgnore
    @ApiModelProperty("是否微信推送，0否，1是")
    private Integer isWxPush;

    @ExcelIgnore
    @TableField(exist = false)
    private Integer passCount;

    @ExcelIgnore
    @TableField(exist = false)
    private Integer noPassCount;

    /**
     * 提分
     */
    @ExcelProperty(index = 3,value = "提分")
    @TableField(exist = false)
    private BigDecimal diffScore;

    @ExcelIgnore
    @TableField(exist = false)
    private String linkmanPhone;

    @ExcelIgnore
    @TableField(exist = false)
    private Integer diffPassCount;
}
